<?php 
namespace app\Admin\model;
use think\Model;
use think\Db;

class Good extends Base
{

	protected $table = 'goods';
	/*添加数据*/
	public function addData($data){
		$result = Db("$this->table")->insert($data);
		return $result;
	}
	
	
}	